package com.inifitness.tenant.core.system.mapper;


import java.util.List;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.inifitness.tenant.core.config.mp.annotation.DataPermission;
import com.inifitness.tenant.core.system.model.entity.BizOrg;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BizOrgMapper extends BaseMapper<BizOrg> {

  @DataPermission(deptIdColumnName = "id")
  @Override
  List<BizOrg> selectList(@Param(Constants.WRAPPER) Wrapper<BizOrg> queryWrapper);
}
